﻿using System;
using System.Windows.Forms;
namespace UniMana.Win.Leadership
{
    public partial class FrmReport : DevExpress.XtraEditors.XtraForm
    {
        public FrmReport()
        {
            InitializeComponent();
        }

        private void nbiStudent_Course_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {

            xtsHienThi.Controls.Clear();
            FrmReport_SubStudent_Course view1 = new FrmReport_SubStudent_Course();
            view1.TopLevel = false;
            xtsHienThi.Controls.Add(view1);
            xtsHienThi.Controls[0].Dock = DockStyle.Fill;
            view1.Show();
        }

        private void nbiStudent_Major_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            xtsHienThi.Controls.Clear();
            FrmReport_SubStudent_Major view2 = new FrmReport_SubStudent_Major();
            view2.TopLevel = false;
            xtsHienThi.Controls.Add(view2);
            xtsHienThi.Controls[0].Dock = DockStyle.Fill;
            view2.Show();
                    
        }

        private void nbiStudent_Address_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            xtsHienThi.Controls.Clear();
            FrmReport_SubStudent_Address view3 = new FrmReport_SubStudent_Address();
            view3.TopLevel = false;
            xtsHienThi.Controls.Add(view3);
            xtsHienThi.Controls[0].Dock = DockStyle.Fill;
            view3.Show();
        }

        private void nbiThongKeLopHPTheoMH_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            xtsHienThi.Controls.Clear();
            FrmReport_SubSubjectClass_Subject view4 = new FrmReport_SubSubjectClass_Subject();
            view4.TopLevel = false;
            xtsHienThi.Controls.Add(view4);
            xtsHienThi.Controls[0].Dock = DockStyle.Fill;
            view4.Show();
        }

        private void nbiDanhSachLopHoc_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            //xtsHienThi.Controls.Clear();
            //FrmReportTrainingClass_StudentList view5 = new FrmReportTrainingClass_StudentList();
            //view5.TopLevel = false;
            //xtsHienThi.Controls.Add(view5);
            //xtsHienThi.Controls[0].Dock = DockStyle.Fill;
            //view5.Show();
        }

        private void nbiSubjectList_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            xtsHienThi.Controls.Clear();
            FrmReport_SubSubjectList view6 = new FrmReport_SubSubjectList();
            view6.TopLevel = false;
            xtsHienThi.Controls.Add(view6);
            xtsHienThi.Controls[0].Dock = DockStyle.Fill;
            view6.Show();
        }

        private void nbiDSSVTC_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            xtsHienThi.Controls.Clear();
            FrmReport_SubStudentSelect view7 = new FrmReport_SubStudentSelect();
            view7.TopLevel = false;
            xtsHienThi.Controls.Add(view7);
            xtsHienThi.Controls[0].Dock = DockStyle.Fill;
            view7.Show();
        }

        private void navBarControl1_Click(object sender, EventArgs e)
        {

        }

        private void navBarItem2_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            xtsHienThi.Controls.Clear();
           FrmReport_SubGender2 view7 = new FrmReport_SubGender2();
            view7.TopLevel = false;
            xtsHienThi.Controls.Add(view7);
            xtsHienThi.Controls[0].Dock = DockStyle.Fill;
            view7.Show();
            
        }

        private void nbiStudent_Status_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            xtsHienThi.Controls.Clear();
            FrmReport_SubStudent_Status view7 = new FrmReport_SubStudent_Status();
            view7.TopLevel = false;
            xtsHienThi.Controls.Add(view7);
            xtsHienThi.Controls[0].Dock = DockStyle.Fill;
            view7.Show();
        }

       
    }
}